package com.htthorizon.model.mapper;

import com.htthorizon.model.domain.ModelMessageFlow;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Brilliant
* @description 针对表【model_message_flow(模型消息流程)】的数据库操作Mapper
* @createDate 2023-11-30 14:40:21
* @Entity com.htthorizon.model.domain.ModelMessageFlow
*/

@Mapper
public interface ModelMessageFlowMapper {

    int deleteByPrimaryKey(Long id);

    Long insert(ModelMessageFlow record);

    int insertSelective(ModelMessageFlow record);

    ModelMessageFlow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ModelMessageFlow record);

    int updateByPrimaryKey(ModelMessageFlow record);

    List<ModelMessageFlow> getByMessageId(Long modelMessageId);

    void delByMessageId(Long id);

    List<Long> getModelMessageIdByUserId(Long userId);
}
